From 71ed7828c780c3ac25dd7cb654cff9d5da8d066e Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 28 Jun 2007 22:37:13 +0000 Subject: [PATCH] Allow wildcards [*?] in xml tag list. --- xmlgeneric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlgeneric.c b/xmlgeneric.c index 16aa6513f..74ea8f192 100644 --- a/xmlgeneric.c +++ b/xmlgeneric.c @@ -160,7 +160,7 @@ xml_tbl_lookup(const char *tag, xg_cb_type cb_type) { xg_tag_mapping *tm; for (tm = xg_tag_tbl; tm->tag_cb != NULL; tm++) { - if (0 == strcmp(tm->tag_name, tag) && (cb_type == tm->cb_type)) { + if (str_match(tm->tag_name, tag) && (cb_type == tm->cb_type)) { return tm->tag_cb; } } -- 2.30.2